package com.neu.credit.creditscore.common.utils;



public class BaseContext {
    private static final ThreadLocal<Integer> threadLocal = new ThreadLocal<>();

    public static void setCurrentIUserId(Integer userId){
        threadLocal.set(userId);
    }

    public static Integer getCurrentIUserId(){
        return threadLocal.get();
    }
}